Skip to content

Conversation

@krisbiradar
Copy link

Closes #134 .
Wrap Exception.ToString() in a try-catch block to handle potential failures. If an exception occurs, output a fallback message with details about the original exception and the error encountered.

Wrap Exception.ToString() in a try-catch block to handle potential failures. If an exception occurs, output a fallback message with details about the original exception and the error encountered.
@krisbiradar
Copy link
Author

@nblumhardt
can you merge this ?
similar has been merged in the serilog's main repo
Here

@nblumhardt
Copy link
Member

Hi Kris, thanks for the nudge. This one needs the same changes as were made to the serilog/serilog one before merging. Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exception in StackTrace leads to wrong message being logged

2 participants